package com.dl.waimai;

/**
 * Time    : 2023/3/23 9:15
 * Author  : 王摇摆
 * FileName: Main.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class Main {
    public static void main(String[] args) {

        PizzaStoreProxy pizzaStoreProxy = new PizzaStoreProxy();
        pizzaStoreProxy.setPizzaStore(new PizzaStore());

        Customer customer = new Customer();
        customer.orderPizza(pizzaStoreProxy);
    }
}
